home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 19
/
CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso
/
CUCD
/
Online
/
Apache
/
htdocs
/
counter
/
crdates.sh
< prev
next >
Wrap
Linux/UNIX/POSIX Shell Script
|
1997-11-23
|
551b
|
41 lines
#!/bin/sh
#
# create the date images used in the Count.html
# ma_muquit@fccc.edu
# Oct-19-1997
#
P="../src/Count.cgi"
PA="$P -debug"
if [ ! -f $P ]; then
echo
echo "$P does not exist"
echo
fi
ATTR="ft=2&dd=D&srgb=00ff00&prgb=00ffff"
#
# func to set QUERY_STRING
setQueryString ()
{
QUERY_STRING="lit=$1&$ATTR"
export QUERY_STRING
}
crGifs ()
{
setQueryString "$1"
$PA
}
if [ $# -lt 2 ]; then
echo
echo "usage: `basename $0` <date-string> <output gif file>"
echo
exit 0
fi
crGifs $1 > $2 2>/dev/null